<html>
<head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title></title>
        <style>
            label{
                width: 120px;
                display: inline-table;
            }
        </style>

    </head>
<body>
<a href="view.php">Manage Contacts&nbsp;&nbsp;&nbsp;&nbsp;</a>
<a href="Changepassword.php">Change Password&nbsp;&nbsp;&nbsp;&nbsp;</a>
<a href="logout.php">Logout</a>
</br>
</br>
<h3>Change Password</h3>
</br>
<?php

if(isset ($_GET['err2'])){
                echo $_GET['err2'];
            }


?>
 


<form action="password.php" method="post">
<body>
<label>User Name :</label><input name="username" type="text" id="username"><br>
<label>Old Password:</label><input type="password" name="password">
</br>
<label>New Password:</label><input type="password" name="newpassword">
</br>
<label>Confirm Password:</label><input type="password" name="confirmpassword">
</br>
</br>
<label></label>
<input  type="submit" value="Change Password"  />
</form>
<body>
</body>
</html>